//
//  CollectCell.swift
//  FirstSwiftProduct
//
//  Created by 知合金服-Mini on 2017/12/14.
//  Copyright © 2017年 范泽华. All rights reserved.
//

import UIKit

class CollectCell: UITableViewCell {
    @IBOutlet weak var FZH_title: UILabel!
    @IBOutlet weak var FZH_content: UILabel!
    @IBOutlet weak var FZH_time: UILabel!
    @IBOutlet weak var FZH_image: UIImageView!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    public func connectData(dict:NSDictionary,index:String)  {
        
        FZH_title.text = dict["title"] as? String
        FZH_time.text = dict["time"] as? String
        FZH_content.text = dict["content"] as? String
        
        FZH_image.image = UIImage.init(named: index)
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
